Improve brew script.