added command line execute to app.js