data directory and module.exports revision