Using the download function in embeds