Various setup.sh fixes

This was failing on a brand new installation (worked fine for redeploying where it had already been used).  Some fixes.  Works here now on a brand new Ubuntu 12.04 install.
I don't think this is in the correct location.

Maybe move it under the `# Parts` section and make it a subheading.