Changed hardcoded html to HB templates through the end of summary section