chmod the wait for emulator script to be executable