Fixed shell commands for hostname changing