The two adaptive extended interventions (TMAC and TMAC-Plus) are predicted to produce better drug use outcomes than TAU. TMAC-Plus is hypothesized to produce better retention and drug use outcomes than TMAC. Economic analyses will determine the cost-effectiveness and benefit-cost of TMAC and TMF-Plus relative to TAU, and to each other. Other analyses will test mediation hypotheses, examine potential moderator effects, and test the impact of disease management on HIV risk behaviors.