Fixed bug in the install script