fixed some minor errors in install script