fixes to itmsworker.bat