def _download_ota_script(script_url):
    """Download the script from the cloud service and store to temporary file location"""

    try:
        blob = requests.get(script_url, stream=True)
        return blob.content
    except Exception as e:
        iprint("Failed to download OTA script")
        iprint(e)
        return False