working on TC scripts