echo hostname and run script as sudo