Shouldn't we set this once the download is executing (a few lines below, then)?