updated the batch file to work on Linux cluster