Added config check