Added support for creating an image from a running instance