Improved download workflow

Improved download workflow
Improved errorhandling

Improved errorhandling