Use rewrite connection