add script to synchronize remote db to local db