Define change_mode func
Add DIRECT -> HIRA mode change process