Script for moving large numbers of pages