addcard.py now waits for swipe