use options[:host] instead of hardcoding