Change the working directory to that of the batch file so that it can be run globaly from the terminal
resolve #12 resolve #27 fix #39 fix #41 fix #47