cx now accepts either directory, or app.js, or conf.js