Adds common header and footer