Mirror of FlyingKumquat's CookieMonster script.