Fix emulator startup bug, was halting the script