outline a script to extract member records from transaction records