Changes for batch plotting with LSF