Backport setup.sh from 4.3 so that we can use the same config for deploying demo sites.