install script impoved