Add option for limiting pages generated (for quick development).