Create terminate.py