script hostname.sh; other corrections