Rewrite settings