Updates to OptimalMapSelectionScript.