We're calling xxx.replace(toolNameReplacement, toolName) in several places, shouldn't we have a shared method for that? And BTW, why did we choose to use this kind of replacement insted of using String.format?