fix city/state switch in process script