script overview: to check if all the jobs finished correctly