Added preDir to skip subtrees for a.toc files and dht files
Removed the env print statement