Fixes to slurm interface