rewrites header in markup, styles