added custom page templates and custom headers