add option configure for custom configuration
fix bug on generator for pagers in plugins