Added prejOb commands and post job commands to the pbs and slurm scripts