grabbed the license_key from license and passed it to the download function