change discount code matching to no longer support regular expressions
make referral invites values as configuration variables