added error checking, default the tools file