better header and footer inclusion