Wrapped the plugin code in a self-executing function