updated interface with pipeline

slightly different (and more consistent) syntax used with new version
of pipeline.py