Added localhost option.