added support for syncing with dbs in configfile