@girish
The resolv.conf has nameserver set to 8.8.8.8 and 8.8.4.4.
I did notice that when I ran the script it would overwrite dns and set to 127.0.0.1.
I edited the /etc/resolvconf/resolv.conf.d/head file and permanently added nameserver 8.8.8.8 and 8.8.4.4
Ran the install and successfully installed.
Thank you for your assistance!