updated version of grader to handle url option