Improve generated bin/setup

* Make script idempotent.
* Fail fast with install messages and non-zero exit status.
Yup