correcting the homebrew script