updates to image build script