Rewrite footer