Change scan code