change rewrite settings