change directories settings