Editor's note: The names in this story have been changed to protect identities of those involved.

A yellow school bus crunches through fall leaves and slows to a stop. Seven-year-old Allison Jones bursts out: “Hi, Grandma.”

Grandma, Lori Jones, and Allison’s mother, Michelle, are in the front yard of their Athol home to welcome Allison home from school. Michelle has news about a Market Basket coloring contest that she knows Allison has been waiting to hear — she won.

“I did! Yay!" Allison said. “I get 50 bucks.”

It’s still a little new for Allison to get this news from her mother, because Michelle’s parental rights had been revoked until last month, when Lori and Michelle went to court to tell a judge that Michelle was back – back from the brink and back in her kids’ lives after delving into the depths of addiction and recovering with a lot of help.

As the opiate crisis has advances, many people who thought their child-rearing years were done are finding themselves stepping in to take care of young relatives. In the last 15 years, the number of Massachusetts grandparents with custody of their grandchildren has increased by more than 20 percent, largely because the parents are dealing with addiction issues. But sometimes the child custody is temporary, as with the Jones, who went through the worst of addiction and made their way back.

Michelle, a 24-year-old mother of three, got addicted to prescription drugs like Percoset five years ago, when she met a new boyfriend who did them, and moved in with him.

"I thought it was ok," she said. "Like, let’s do a couple percs and get myself going for the day.”

Lori, Michelle’s mother, started to notice the kids weren’t well taken care of. Allison’s hair would hang in knots.

"I actually had to cut her hair," Lori said. "I mean, that’s not right. Was it enough for the state? Maybe not, but it’s enough for a grandmother to know her grandchildren are in potential danger.”

In desperation, Lori arranged for her own daughter to be arrested, and successfully petitioned for guardianship of her grandchildren.

"There was no convincing her," Lori said. "She was mad. We fought.”

“I was mad,” Michelle said.

Lori wasn’t going to let the situation get to the point where the state Department of Children and Families took her grandchildren. But she felt guilty, and blamed herself because she hadn’t seen the signs of addiction in her own daughter.

"It was very hard to cut her off, but that was the only way," Lori said. "Through experiences, and being on mothers-of-addicted-children websites I knew I had to stop enabling her.”

Michelle says she fell into an even deeper addiction without her children.

"So that’s, like, what I was numbing — the fact that they weren’t there, and the feelings that I failed." she said. "So I’d just keep going. It was a downward spiral. I didn’t want to do them anymore but I didn’t want to face anything so I kept getting high. And then I got high because I got high.”

The Change

Michelle Jones, rear, and Lori Jones, center, with Michelle's two younger children.
Michelle Jones, rear, and Lori Jones, center, with Michelle's two younger children.
Rupa Shenoy/WGBH News

So what changed? That was the judge’s question to Lori last month. Michelle says eventually she missed her kids too much. She walked into a clinic where they gave her a drug called Suboxone that dulled her cravings for opiates. It stopped her from getting high, and instead got her normal again. And when Michelle was off the illicit drugs, she moved back in with her mother.

"I knew that I had to gradually start earning her trust back. Because she wasn’t just going to let me in and keep like coming in and out of the kids lives," Michelle said.

Lori supported Michelle financially as she went to recovery meetings and slowly took on more responsibility for the children. Lori was watching carefully.

"There was a little bump in the road when she lived her six months, and she wanted more," Lori said. "She wanted custody, and I knew she wasn’t there yet because of the amount of work I was doing.”

Lori eventually agreed Michelle was ready to be her children’s guardian. The judge, though, questioned Michelle’s ability to raise three children, keep up her addiction treatment, and pursue her plans to be a certified nursing assistant.

“It’s going to be a challenge to juggle the responsibilities for all three of these children," he said. "I think it’s very important that you will continue to have the support of your mother.”

Lori told the judge that now, when the kids get hurt, they run to their mother. And Lori’s there to hand Michelle a band-aid.

“We don’t anticipate much changing except the legalities of this,” she said.

“All right," the judge replied. "I will enter a decree that will approve your resignation as their permanent guardian today."

Michelle’s two younger kids are happy, active, and oblivious. But Allison, the oldest, seems almost haunted. She remembers what happened.

"Mom wasn’t there when I needed her a lot of times,” she said.

Now Allison’s reluctant to let her mom out of her sight. She even goes to some of the Narcotics Anonymous meetings Michelle attends. And when Michelle says the group's mantra, Allison is there, saying it too.

"Just for today, I will not use drugs.”