adding checks for grader script