fetchcards.py script