Check for location and config option.