Start Rewrite document