Add wait_for_emulator script