Modified how the download image works