use __dir_name to find config