change directory configuration.