Changes to header and footer. Might break. sorry in advance.