change to setx call with environment solution