updates to cli script