Adds an OSX setup script
Small script fixes
Adds a homebrew installation script