grading script