Create recordAndSave.py