Prepare synchronization script