Check current script directory path and used this as the path basis for all of the tools, for OS X only (still need to test on Wintel). In support of bug #8