first page option selection generator.

And all supporting functions.