A total of 211 participants with 3-9 months remaining in prison were randomized to one of four conditions formed by crossing In-Prison Treatment Condition ( received buprenorphine vs. counseling only ) and Post-release Service Setting ( at an opioid treatment center vs. a community health center ) .