modified grader.js to work with --url