Should check for dir rather than exist