checks local config