improve archive download and add progress bar