added changes to downloader