changed setlocal to set ... dont know what setlocal is. and added ruler