add support for input command str