made some more changes to the execution of the database sync.