Install and configure paginate