added support for app-globals plugin.