get to the right directory