used brew install script generator and added test