rewrite frontpage