Sync script and misc.