added plugin_loaded, plugin_unloaded and renamed file