Modified generate.bat

To fight to the complete.