Fixed download script