Add deployment cruft

You may want to check you agree with the decisions I've made.