Use bash not sh and fixes so script will source properly when run from a...

...nywhere