Implemented tc-runner in python