clean up ex3 for SLURM