add basedir for unix-based start
Merge pull request #3 from nwlunatic/add_basedir

add basedir for unix-based start