generateOneGrade.sh mostly done