Josh 03/03/2014
Added scheduling code