carry out railway switching operations according to directions