Add setting for the number of upgrades