enable to convert from commandline; add support for plugin