Added showpercent setting to show the percentage on the progress bar