setup.bat generalized