Added grade .csv generation