Automatic switching agent