Fixed some path dependancies.

I had used /tools statically, switched to $tools. Also updated final output line.