Updated to use pipeline.js instead of its own pipeline