MIDI to relay help... (glockenspiel pde)

Hi, is there anyway I could expand the notes and the outputs? I tried to tweak the original software, but no luck.

So have you got the original 8 notes working with the original code?