got this working with the batch system on SL6