Hanafi Fiqh

Job and the environment

I have been overthinking about this question So essentially I am a engineer who is working in the oil and gas and plastics industry. My job is to make sure that my unit is running correctly in the plant/refinery. So as you know the production of such products contributes to pollution and I was wondering is my job halal and moral from a islamic perspective.As you know many people just throw away plastic into the ocean and nature instead of properly disposing it. But the thing is everything unfortunately has a carbon foot print

Hanafi Fiqh

Judging in Islam

Assalmu Alaykum
What does Islam say about judging someone? I have heard that “ We only judge by what is apparent ( Hz. Umar RA) “ but i have trouble understanding that.
Jazak Allah