getting data per page, added to drafts script as well