Hacking around in the script some more.