In general In the case of a qualified building owned by an eligible entity, the Secretary shall promulgate regulations to allow the allocation of the deduction to the person primarily responsible for designing the energy efficiency improvements in lieu of the owner of such property, with such person to be treated as the taxpayer for purposes of this section. (2) Eligible entity For purposes of this subsection, the term eligible entity has the same meaning given such term under section 179D(d)(2). (f) Basis reduction For purposes of this subtitle, if a deduction is allowed under this section with respect to any energy efficiency improvements, the basis of such property shall be reduced by the amount of the deduction so allowed. (g) Coordination with other credits For purposes of this section, expenditures taken into account under section 47 or 48E shall not be taken into account under this section. . (b) Conforming amendment (1) Section 263(a) is amended— (A) in subparagraph (K), by striking or at the end, (B) in subparagraph (L), by striking the period and inserting , or , and (C) by inserting at the end the following new subparagraph: (M) expenditures for which a deduction is allowed under section 179F. . (2) Section 312(k)(3)(B) is amended— (A) in the heading, by striking or 179E and inserting 179E, or 179F , and (B) by striking or 179E and inserting 179E, or 179F . (3) Section 1016(a) is amended— (A) in paragraph (36), by striking and at the end, (B) in paragraph (37), by striking the period at the end and inserting , and , and (C) by inserting at the end the following new paragraph: (38) to the extent provided in section 179D(f). . (4) Section 1245(a) is amended— (A) in paragraph (2)(C), by inserting 179F, after 179E, , and (B) in paragraph (3)(C), by inserting 179F, after 179E, . (5) The table of sections for part VI of subchapter B of chapter 1 is amended by inserting after the item relating to section 179E the following new item: Sec. 179F. Deduction for energy efficiency improvements to commercial