Changes for serial port reads