remove unnecessary stuff from batch file.