Fixed pager, added custom pages settings