Bugfixing: set correct working directory