osx setup script written in go