Added additional checks and updated grader to support URL with --url flag