moved wrapper from header/footer to indiv. templates