Shell Script Improvements for Smoother Deployments

- Using `set -e` to exit scripts on error.
- Using `apt-get -y` so scripts install without prompt.
- Couple other little fixes.