Quit on invalid configuration