Add configuration sanity checks