Added newline character at the end of the command to be sent