added a generate.sh option on the menu, untested.