Updated kaleidoscope script.