Change 'dir' settings