moving auto page generation stuff out of the way