to give the ts.pl a framework of exec