Setlocal instead of set.