added sysimg and wait for emu script