Script to fetch the timetables