A few improvements to the DHO upload script.