edited checkout.py
added tentative sql