added additional download checks and safeguards
Merge branch 'master' of https://github.com/scalio/liger-prototype