add hostname in command preview