var path = require('path'),
    rootPath = path.normalize(__dirname + '/..');

var dotenv = require('dotenv').config({path: rootPath + '/.env'});

var config = {
    root: rootPath,
    app: {
      name: 'chatbot'
    },
    port: process.env.PORT || 3000,
    db: process.env.DB_CONNECTION_STRING || '',
    page_access_token: process.env.PAGE_ACCESS_TOKEN || '',
    verify_token: process.env.VERIFY_TOCKEN || ''
  };

module.exports = config;

@@ -68,24 +68,58 @@
  + '/..');%0A%0A
+if (!process.env.IS_HEROKU) %7B%0A    
 var dotenv =
@@ -172,16 +172,18 @@
 .env'%7D);
+%0A%7D
 %0A%0Avar co

Handle the case where we deploy to Heroku.