Updated Snapshot code adding pie chart labels