Added Linux detection and handling for the favoriteAdder tool