The Borrower shall comply, and cause each of its Restricted Subsidiaries to comply, in all material respects with all applicable Legal Requirements. Without limiting the generality and coverage of the foregoing, the Borrower shall comply, and shall cause each of its Restricted Subsidiaries to comply, in all material respects, with all Environmental Laws and all laws, regulations, or directives with respect to equal employment opportunity and employee safety in all jurisdictions in which the Borrower, or any of its Restricted Subsidiaries do business; provided , however , that this Section 5.01 shall not prevent the Borrower or any of its Restricted Subsidiaries from, in good faith and with reasonable diligence, contesting the validity or application of any such Legal Requirements by appropriate legal proceedings. Without limitation of the foregoing, the Borrower shall, and shall cause each of its Restricted Subsidiaries to, (a) maintain and possess all authorizations, Permits, licenses, trademarks, trade names, rights and copyrights which are necessary to the conduct of its business and (b) obtain, as soon as practicable, all consents or approvals required from any states of the United States (or other Governmental Authorities) necessary to grant the Administrative Agent an Acceptable Security Interest in the Borrower’s and its Restricted Subsidiaries’ Oil and Gas Properties.