final grader script fixed