use the configured directory mode