adding tested scriptfile  for animating pie chart