Added support for percentage based grading