Changes to matching and mailing scripts and domain config