more fixes to install scripts