Fix up the deployment tool chain, including better validation checking,
error messages, and a shell script for running the tool. Fixes #1.