Add location and metric setting