moved the schedule call to be synchronous with everything else, so that the schedule shows up for sure every time the page loads.