switched to directory command