major change to syntax of the plugin; updated documentation