A few more fixes to batch file scripts
Removed unused variable