Try .xz files too
Switch all usage to $WGET, then set WGET in CONF.sh First usage is to add --ca-directory /etc/ssl/ca-debian/ so https certificates work.