New function to pull from a list of pages