updates for avoid throwing exception in cinfiguration of cogito funtions
and fixes for score range