Add pager command.
Remove unnecessary variables.