fix optional download parameter case
allow setting region domain for download
Merge pull request #1 from cherbst/master

Fix optional download paramter + add region option