Modify appointment.py