Hey everyone,
Since the original script author isn't around anymore, if anyone out there is still using the CGen script (posted about originally here: https://app.roll20.net/forum/permalink/1669505/ ), the latest API update did break something with it.
You can use this new version here which has been fixed to work with the new update:
https://gist.github.com/rileydutton/f3d099af317734...
Hope that helps. Thanks!