currentDir default value added on Global