working on cli script