Add the bulk of the plugin