Tweaking sync scripts to fail gracefully.