Just wanted to throw out a kudo to @markeats and the several libraries he’s made available for norns. The MusicUtil library makes selecting and assigning note values to scales a relative breeze.
The one I’ve been working with lately is the UI lib. As norns is a screen and knob limited device, scripts which offer multiple options for user control/modification have a challenge.
Among others, the UI lib offers a handy way to create and move through multiple “pages” of Norns-based controls. Mark’s loom script shows how this works. Norns v2 uses a horizontal version, rather than the standard vertical, in the menu system.
I want to offer encouragement to script writers to take a look at this method if you haven’t yet. It’s relatively simple to implement. Everything needed gets located in the KEY, ENC, and REDRAW functions. I’ve added this to my ‘Strum’ script, as it now has on screen 5 performance controls that users should have ready access to. It took me about and hour and a half to implement. EDIT: Those with actual coding skills will be much quicker. 
The UI Pages can also benefit users by having a recognizable way to move through the various controls provided in a script.
I’m not encouraging all scripts look and work the same way. Still, if we think about users, it can be beneficial to have some common method of interacting with norns scripts.
Peace.