Use an environment variable and a wgetrc instead of an alias for wget to enforce the XDG Base Directory Specification so that script calls respect it too.