final tsp script file