Dynamic download script