rewrite settings