use the right directory