Enable the rewriting