[FIX] header, footer inclusion
[IMP] print template