Make grader script self-contained