added log option to --help output
fixed example plugin