I finally got around to creating a generic install where I upload a zip file
containing different state data requested by each purchase.

Is there a best place in the script to put the unzip function.

I have not yet addressed the event where I send purchase 1 the link with
their data, another sale with different states come in and I upload a new
zip for purchase 2 and send the link. Purchase 1 does not download and
install in a timely manner so they wind up with purchase 2 data.

It's always something

Don Harvey