Add Script to Generate SQL File for Batch Uploading.