added serial port logger script