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.
You don't want to use your private settings from development?