Fixing directories to work on Unix