Some routines for submitting simulations via qsub