fixing read bug on install script