to change mac os dir