if S.reversing and atc_arrow then
set_rc(S.rc)
S.exiting = true
S.reversing = false
elseif atc_arrow and S.exiting and S.rc:match("HYREVERSE") then
set_rc("PICKUP")
S.dir = 2
S.reversing = true
elseif get_rc():match("EXIT") and not S.reversing then
    if S.rc:match("HIP") then
        set_route("HYEXIT1", "Hippodrome")
    else
        set_route("HYEXIT1", "Trisiston")
end
end