updated loginfo in python script