adding headers to agentrun output