dosql.py back to previous