Script plugin fails if a backslash is present in the string