Implemented the detection of external tools.