Make generate.bat closer to "generate".