fixed download error, making viewer paths flexible broke downloads logic. it's fixed now i think.