static function map_deployment_virtual( $path ){
		// if path is outside document root move to special plug include dir
		if( strpos( $path, PLUG_VIRTUAL_DIR ) !== 0 ){
			if( strpos( $path, PLUG_HOST_DIR ) === 0 ){
				// is under host root	
				$len = strlen(PLUG_HOST_DIR) + 1;
				$subpath = substr_replace( $path, '', 0, $len );
			}
			else{
				// else could be anywhere in filesystem
				$subpath = md5( dirname($path) ).'/'.basename($path);
			}
			return '/plug/inc/'.$subpath;
		}
		// else just remove document root
		return str_replace( PLUG_VIRTUAL_DIR, '', $path );
	}