Config rewrite