Advanced version of the loader from https://github.com/wube/factorio-lua-tools