added varname for putenv