add checks for plugin installs