making header and footer includes optional