Add debugging and change variable name to be consistent with name from
dir_config.