Added quotes around STRING REPLACE potentially empty arguments