use direct setter
Added feature flags for auto-location