separate the call of register_plugin from exconfig to each plugin