updated publishGrades.cgi to publish to multiple files