Fixed bug in slurm batch files