Add wait_for_emulator.sh script