added local and configuration sanity check