changed dosql.py