instalar script bug fix