modified grader.js to support --url option