install plugin and run script around installing plugin