Updated schedule.
Reordered functions into a logical order.