added config for serial port