generateGradeDirectory.sh updated