def __exit__(self, type, value, traceback): SUBCLASSES.pop(0)
def __enter__(self): SUBCLASSES.insert(0, self.script_handler)