Modified grader for URL handling