Updated grader to process URLs