more db changes, and changes to scheduler activity