Create carryHistory.py