Trying to solve setenv error to no avail