Corrected the hostname variable from the $options array