add a record file, revise the run.py code