Add variable that controls the number of LEMs attached (TODO: set this variable based on command line parameters)