Added an installPlugin method to magicpen