modify command and response string