FIxed some misses in the deploy_sql.sh file