Updates to serial intf python script (now compiles)