; (2) by redesignating subsections (a), (b), (c), (d), and (e) as subsections (c), (d), (e), (f), and (g) respectively; (3) by inserting before subsection (c), as redesignated by paragraph (2), the following new subsections: (a) General energy policy The Secretary of Defense shall ensure the readiness of the armed forces for their military missions by pursuing energy security and energy resilience. (b) Authorities In order to achieve the policy set forth in subsection (a), the Secretary of Defense may— (1) require the Secretary of a military department to establish and maintain an energy resilience master plan for an installation; (2) authorize the use of energy security and energy resilience as factors in the cost-benefit analysis for procurement of energy; and (3) in selecting facility energy projects that will use renewable energy sources, pursue energy security and energy resilience by giving favorable consideration to projects that provide power directly to a military facility or into the installation electrical distribution network. ; (4) in subsection (e), as redesignated by paragraph (2)— (A) in paragraph (1), by inserting , the future demand for energy, and the requirement for the use of energy after energy ; (B) by amending paragraph (2) to read as follows: (2) Opportunities to enhance energy resilience to ensure the Department of Defense has the ability to prepare for and recover from energy disruptions that impact mission assurance on military installations.