cli fixes to accept params and inputs & pep8