Attached is a patch the finishes up the work to move the snowball SQL script generation into a separate script.