i feel like it's pretty gnarly this thing has to exist here… is it possible to make this script a node package, require it and execute it?