updated printsummary for html reporting