Time for action – writing the pie chart script