changes header and footer