fix pathing
fix bugs in tools