Added a baud rate switching mechanism