Updated cli script