added progress bar to download script