updated documentation and helper function to reflect new cli usage and functions