remove an extra if check
add help documentation to configure
add a summary text to the output of configure