Hey there,
this looks like a great script. One question i have, what are you using for the primary key in each table of the database?

thanks

app