Rewrite all templates and CSS stylesheet