added code for headers and footers, and changed generated font size