Simplified script, based on page numbers and budget amount.