change the shebang line of gen.sh