bug fix to slurm script