use new method name
autodect plugin type and remove obsolete -a option