Beautify this script as I need to debug within it.
Beautified with ascii-only option, since presumably that's what's getting messed up when I upload this otherwise perfectly good script.