moved the icon map from private to the main script