Started implementing scheduling and runall