added emulator startup