unify to a single Python script