Added an echo function with pager support