directory to mac version