If any term or provision of this Agreement is invalid, illegal or incapable of being enforced by any applicable law or public policy, all other conditions and provisions of this Agreement shall nonetheless remain in full force and effect so long as the economic and legal substance of the transactions contemplated by this Agreement is not affected in any manner materially adverse to any party; provided, however, that if any term or provision of Section 5, 6, 7, 8 or 9 is invalid, illegal or incapable of being enforced by any applicable law or public policy, all other conditions and provisions of this Agreement shall nonetheless remain in full force and effect to the fullest extent permitted by law; provided further, that in the event that any court of competent jurisdiction shall finally hold in a non-appealable judicial determination that any provision of Section 5, 6, 7, 8 or 9 (whether in whole or in part) is void or constitutes an unreasonable restriction against Executive, such provision shall not be rendered void but shall be deemed to be modified to the minimum extent necessary to make such provision enforceable for the longest duration and the greatest scope as such court may determine constitutes a reasonable restriction under the circumstances. Subject to the foregoing, upon such determination that any term or other provision is invalid, illegal or incapable of being enforced, the parties hereto shall negotiate in good faith to modify this Agreement so as to effect the original intent of the parties as closely as possible in a mutually acceptable manner in order that the transactions contemplated hereby be consummated as originally contemplated to the fullest extent possible.