Changed hostname get method to Perl call. Corrected issue with not displaying help output if no arguments in @ARGV