generate student files/directory AND fixes to previous code