Fixing issue #21 moving loading of configuration to async callback function plugin_loaded