small fix in configpoints and script using configpoints