Added minor functionality to end stage of downloader