Minor changes to generate.sh

Generated by commit a0091835ba0acce38758ca5b8af42e4110b0c377; pushed by Travis build 15.