Mostly comment improvements. Instead of hardcoded hostname, read from stdin.