If..else for environmental variables