the downloader modified so that progress can be recorded