Script updated

Changed display of MIDI devices only if DEBUG is true