allow params to pass header and/or footer template