Modified and tested UART

Updated scripts