Added checks and updated grader to accept URL