fix script image build, add make option