Added grunt dir detection