Fixed config directory problem