RLa, then, just "app.use(require('./rewriter.js'));" ?