multitermination.py script works!
comments in the script