Adaptive Optics Associates (AOA) has recently developed a commercial Shack-Hartmann wavefront senor called WaveScope for use in optical testing and adaptive optics. The sensor head and associated wavefront analysis software are a powerful and highly flexible combination. Wavefront data can be manipulated and displayed using Tk/Tcl commands and AOA's own atomic functions. To demonstrate this over the last month we have integrated a deformable mirror manufactured by OKOTechnologies into WaveScope. All the software necessary to control the mirror and perform closed loop adaptive optics was written in the Tk/Tcl scripting language which ships with WaveScope. The result is a low cost integrated adaptive optics system.