Adding lookup and manual configuration for main location.