Add maintenance script for running queries in batches. This is especially useful...