parameterize download directory