Fixed bug with install scripts