sync script tweaks