Auto-expandvars when reading config file