Update TO script, and also some UI issues.