command-line-tools: getting script directory + sourcing scripts fixed to work also on Solaris