need to at least globalize 2 variables: $core_config and $plugin_config