Working version of download.