More checks to see if config is valid

Also updated the config dist file