These accounts have the Spellbook then?
I could rip the function from the SL site to check for that.. Sanity checks to ensure proper execution of code functions is pretty important, what may seem like 3 simple functions is likely closer to a dozen functions by time you add the checks and balances, load balancers, API node test/changers, etc etc etc... and this is before any sort of GUI involvement.
I( can likely facilitate the code in order to accomplish this... Are you looking for something with a UX/GUI or just a simple app/script that you can run?
Are your accounts a CSV list or JSON object, or simple text document? How many accounts are we talking? We can likely hash out your exact requirements beyond the core objectives and get a build going here shortly.. Working on a few other things at the moment as well, but if this wish is something feasible for me to bang off quick here... Will certainly do so.
RE: Scholar Account Setup