added support to be able to trigger the generation of a report from the plugin