Add basic plugin logic