Cleanup empty space at end of lines
Add plugins, debug for logs and events