added verbose mode for CLI