adding dryrun support to sync.py