Updated for new plug version