pipeline.py: add domains