Add the headers and the footers etc