Made profile location configurable.