raw serial data logging, python script update