Updated app.js and config file