Fixed broken downloads in viewer