use onConfigure to set the pragma