; and (2) by adding at the end the following: (j) Children placed with a parent residing in a licensed residential family-Based treatment facility for substance abuse (1) In general Notwithstanding the preceding provisions of this section, a child who is eligible for foster care maintenance payments under this section, or who would be eligible for the payments if the eligibility were determined without regard to paragraphs (1)(B) and (3) of subsection (a), shall be eligible for the payments for a period of not more than 12 months during which the child is placed with a parent who is in a licensed residential family-based treatment facility for substance abuse, but only if— (A) the recommendation for the placement is specified in the child's case plan before the placement; (B) the treatment facility provides, as part of the treatment for substance abuse, parenting skills training, parent education, and individual and family counseling