use setlocal instead of setl