Removed unused vars and use the plugin_include function.