add code to sanity check local config file