Pruned out dead code.
Restored the revised config path algorithm.