removed reading from external config file
changed get to download, download now takes task object as param