Wrapper script for syncing.