Added basic plugin functionality