extract sogout.py