Refactored plugin architecture to allow custom script reports