Adding fixes to template, text and number of pages