Converted input boxes to use the new unit system