Added connecting to the serial port