fixed directory error - it can now create the summary directory