Minor changes to the generate script
Merge branch 'master' of github.com:xyproto/battlestar