The principal objective of the planned trial is to evaluate the effectiveness of including an interactive, web-based version of the Community Reinforcement Approach (CRA), called the Therapeutic Education System (TES), as part of community-based, outpatient substance abuse treatment. CRA is a cognitive-behavioral intervention which seeks to give patients skills to achieve and maintain abstinence and improve social functioning and is often paired with contingency management, where patients earn rewards contingent upon drug negative urines. CRA is an intensive treatment, generally delivered in individual sessions 2 to 3 times per week. Thus, it is expensive and time-consuming to deliver, to train clinical staff, and to provide supervision to maintain clinical staff skill. However, because CRA is oriented toward knowledge and skills, it lends itself to being delivered by computer, using computer-interactive learning technologies.