Eliminated dependence on Sys::Hostname. Changed declarion and gathering of system information to sub to eliminate global scoping