Added affiliates processing