Update transient.py script