Converting referrals to spreadsheet, fixing action caching