Updated the genrate.sh to use bash.: