updated the plugin scripts