use thor as commandline engine