Added generate.bat for windows