finally...fixed all the bugs in tsan bash scripts...