Haven't tested this extensively, but making the following changes seems to make it function on 2.0 with Space Age:
- info.json; set value: "factorio_version": "2.0"
- sandbox.lua; insert new line before line 12 with contents: if not global then global = {} end