Added support for images to build process.