Changed variable names for the new GUI.