split require_config into own sub, so we now read global