changed constant from DRG_CONFIGURATION TO ENDPOINT_CONFIGURATION