add dry_run function to sync_task scripts.