replace main plugin function execution with body event trigger - to achieve less coupling between plugins