See here: https://github.com/Johns-Q/wdmc-gen2