Switched to using module.require() instead of just require().