added more checks
grader can take url input as argument at cmd line