Modified config check