Changed newline character as end of command to NAK