added pager to ag output