Is the inability to use productivity modules intentional? As it stands, gray, purple and yellow science only go from 2.8 per cycle to 3 per cycle for substantially added complexity.
I made a pull request on your repo with a modification I made locally and it seems to be working for me. One approach would be just to make that official.