wait_for_emulator.sh script added