Added code that created the config directory.