Added more strict configuration validation