gridpack script patched to work with LSF