make gen.sh executable