Updated grader to use buildfn