Perhaps you can avoid the 'UPDATE' part of the example script and do as PAVB suggested and generate INSERT statements instead!!!.

Good luck!