Tweaks the header and adds a footer to the pages.