fix submitTrxs.py. add logs