Added schedule and lots of other fixes.