Rewrite network controller