Added in another parameter to perform string replacement