new variables, smarter download and install