Handle more than 50 tables & don't overwrite IDs if they already exists