Rewrite AutoTouch completely