download script working