integrated schedule storage and bug fixes for schedule recovery on bootup