getting into the right directory