Update halflife.py