Doing the replacemens - Rewriter not working yet