Enhance brew-linkage script