Updated the examples to be cli based