Fill out missing fields
Genericize page image code