added endpointscfg script