Create mw_affiliate.py