changes settings to trigger key error if required env-var not available.