fixed issue involving doubleheaders, added user-agent header, new summary format