The Design of Trade Agreements and Global Supply Chains