bash script for running TCs