changed pipeline so stream, record and takesnapshot can work together
testing
changed pipeline so stream, record and takesnapshot work together