align sync script with latest directory-watcher updates