Added replace code, tested replace and replacecontent.