chimp rewriter