small changes to download task