convertsql.sh