Fixed pull.py