void *emulate_script_cli(void *arg);