fix script get newest file