Update stage1.py