Update conditionals
Updated endpoint comparison to not use configurations
Updated log statement