adding a script to transfer out patients (from the csv file)