Resolves Issue #30

Changed to use a more BASH friendly method where it solely
relies on PWD and cd to ascertain the correct path
Works on OSX.