Support calling from the command line via the script bin/rgb.js