checking for http/https before trying to fetch things
checking for version part[1] before using it