Added the plugin code

Added the plugin code