Adapted code of timetables section to changes on tables with academic period info