update template config usage

create configurable template header/footers