Just the original tools.c

Signed-off-by: bestel <steven.valsesia@gmail.com>