adding tools.js