improvment of internet-free feature in automatic install script