temp. copy of config_directory var seems redundant as it's not modified