improved the plugin actions