modified install_plugins