Proposed fix, compiling a local require() into modules