including the rendered graph in the main page