Use right directory.