get and set path so script can run from anywhere
Merge pull request #7 from libbyh/rel-path

get and set path so script can run from anywhere