Fixed the directory structure used by the date retrieval function