add missing viewstart & viewend options to generator