The template is now the initial profile
Adding query data to each graph in the profile