Experimental common header and footer, not working yet