added support for SLURM