added a series of sanity checks for the ocnfiguration file