Merge: lib/config: better tool configuration