added sellouts.py, input checking