Added modifications to grader.js to allow for remote indelx functionality