Correct the path to the script that check slurm job finish.