modified grader.js to accept urls