Improved plugin manager