modified batch file