Initial Revision of Sync Script