Modified change_OTA_URL for different OS.