changed workflow to support multiple plugin types