added env to variable
added env varibale on non null paths