Technology, Adaptation, and Exports