Generate first page and page one independently

Closes #2