pipeline.py: added support for 'tag'