rewrites for head html