Added importImage to support creating images from tar files