Script to do equivalent of 'Transfer Purchases' in iTunes with the help of ideviceinstaller