i don't think you need this function. in which you could simplify the whole thing to simply the slurm.py file. take the stuff in init here and put it in the init in that file.