Added the ability to disable using the header and footer.