Fix settings properly to use local vs production