changed gtools to tools