Updated the DirectoryPath for the config files

The directory wasn't being constructed properly since the changes were
made so updated to make it work.