Added back install plugin code.