Output data required for graph

Well that was much easier than changing the script...