add initial lines to pull header and footer