added support for image builds