Parametric train scripts