Support for read/write to serial, and command line actions