Plugin now actually listens to events