Issue #4: set setWorkingDir as global var