small updates to cli module