Changed items per page and line length into command line parameters.