Refactored code working with params.launch. Functional with bogus data stream