Fix "log" in scripts displaying the comment twice

Bug report by TorchRJ_