Updated machine detection for batch run on LISA, batch script for LISA