Add script to wait for emulator launch