A Real Options Approach to Contractual Agreements and Value Flexibility