Made "wait_for_emulator" executable.