updated to also fix batch files for xsede.