now searching for a global or local config file