set up tsp dir