Added option to only generate main page.

Save some work.