gen.sh added