adding Serial output for python script