added setx variable setting