Add Optional Injection Based on Environment Variable