script! yay
gen_pages works, sorry for the commit spam