change gen.sh