Added a change dir context-function