Tweak emulator script.