cleanup (startPipeline really belongs in translation.py)