adding root to terminal.txt