Implement working directory definition plateform independently