add wait for emulator.sh