Fix un- and install scripts