updated the import_patient script