some minor changes on the tools file