Script to parse time table