script to check for referrals
Merge pull request #2762 from dimagi/check-for-referrals

script to check for referrals