Switched to module.exports