added configure flag