adding support for CLI parameters