improvements to execution of tools