Changed so that this variable exists and is used to update the select options.