Rewriting the header partial