Search strategy for cfg file added. A few smaller changes.