Changing execution mode.