changing the proggress script for the pie chart