Make the 1000 configurable via a ```batch-size``` parameter.  I'm pretty sure that, like the ```quiet``` parameter, is built in to maintenance scripts.