Reworked plugin manager