Bugfix - variable must be set before the plugin is loaded.