popen and removed emu.sh