./cosmos -c script; swipl -f script.pl -g "[core],script(X),halt"