grade script