Removing duplicates in install scripts