added shell script to generate SQL scripts