make the download directory configurable (env var) and pass it to install.sh via `-d` if available