@d-healey It had done in the other script I had but not in this one... when I checked, the zip was only 4kB!
Reworked the script and now it's all working; moves the sample zip, extracts it, deletes the zip and then deletes the temp folder that it installs to.
Thanks for nudging me in the right direction 👍