Enabled running tool scripts from anywhere.

Fixes #9
Using dirname(${0}) as suggested
Merge pull request #10 from rhyolight/mobile-tools-exec

Enabled running tool scripts from anywhere.