add wait_for_emulator file