Improved sync scripts.