Change from set to setlocal