old_contents: 'use strict';
  
  var _ = require('lodash');
  
  var env = process.env.NODE_ENV || 'development';
  
  var options = require('./options.' + env + '.js');
  
  var seneca = require('seneca')(options.main);
  
  seneca.options(options);
  
  seneca
    .use('ng-web')
    .use('../lib/users/user.js')
    .use('auth')
    .use('user-roles')
    .use('web-access')
    .use('../lib/auth/cd-auth.js')
    .use('../lib/charter/cd-charter.js')
    .use('../lib/dojos/cd-dojos.js')
    .use('../lib/countries/cd-countries.js')
    .use('../lib/geonames/cd-geonames.js')
    .use('../lib/users/cd-users.js')
    .use('../lib/agreements/cd-agreements.js')
    .use('../lib/profiles/cd-profiles.js')
    .use('../lib/badges/cd-badges.js')
  ;
  
  _.each(options.client, function(opts) {
     seneca.client(opts);
  });
  
  seneca.ready(function(){
    console.log('seneca ready');
  });
  
  module.exports = function(){
    return seneca.export('web');
  };
  
new_contents: 'use strict';
  
  var _ = require('lodash');
  
  var env = process.env.NODE_ENV || 'development';
  
  var options = require('./options.' + env + '.js');
  
  var seneca = require('seneca')(options.main);
  
  seneca.options(options);
  
  seneca
    .use('ng-web')
    .use('../lib/users/user.js')
    .use('auth')
    .use('user-roles')
    .use('web-access')
    .use('../lib/auth/cd-auth.js')
    .use('../lib/charter/cd-charter.js')
    .use('../lib/dojos/cd-dojos.js')
    .use('../lib/countries/cd-countries.js')
    .use('../lib/geonames/cd-geonames.js')
    .use('../lib/users/cd-users.js')
    .use('../lib/agreements/cd-agreements.js')
    .use('../lib/badges/cd-badges.js')
  ;
  
  _.each(options.client, function(opts) {
     seneca.client(opts);
  });
  
  seneca.ready(function(){
    console.log('seneca ready');
  });
  
  module.exports = function(){
    return seneca.export('web');
  };
  
subject: Fix seneca init