Configure CONF in main