Waterfall update

* Made it somewhat bash-compatible
* Moved dependencies to .brew
* Added some MacOs specific preferences
Corrected a fatal typo