Sync script changes as of Thu Dec 26 09:38:41 GMTST 2013