Better just 'setlocal' instead of 'set'