changing the directory of the first TP