Fixed create schedule task that was broken