Added config params to setup of serial port