adding support for cli