Update TERMmanager.py