Fix some participant import bugs. Create timetable function