remove kill in emulate.sh