factory: fix --host parametr in cli
factory: fix output in out_loop()