old_contents: from flask import Flask, url_for
  from flask.ext.pymongo import PyMongo
  from views import *
  import os
  
  papertalk = Flask(__name__)
  try:
      papertalk.config.from_object('config.Config')
  except:
      config_params = papertalk.config.from_object('config_sample.Config')
      for key, value in config_params.iteritems():
          papertalk.config[key] = os.environ.get(key)
  
  mongo = PyMongo(papertalk)
  
  # Determines the destination of the build. Only usefull if you're using Frozen-Flask
  papertalk.config['FREEZER_DESTINATION'] = os.path.dirname(os.path.abspath(__file__))+'/../build'
  
  # Function to easily find your assets
  # In your template use <link rel=stylesheet href="{{ static('filename') }}">
  papertalk.jinja_env.globals['static'] = (
  	lambda filename: url_for('static', filename = filename)
  )
  
  from papertalk.views import article, main, reaction
  
new_contents: from flask import Flask, url_for
  from flask.ext.pymongo import PyMongo
  from views import *
  import os
  
  papertalk = Flask(__name__)
  try:
      papertalk.config.from_object('config.Config')
  except:
      papertalk.config.from_object('config_sample.Config')
      for key, value in papertalk.config.iteritems():
          papertalk.config[key] = os.environ.get(key)
  
  mongo = PyMongo(papertalk)
  
  # Determines the destination of the build. Only usefull if you're using Frozen-Flask
  papertalk.config['FREEZER_DESTINATION'] = os.path.dirname(os.path.abspath(__file__))+'/../build'
  
  # Function to easily find your assets
  # In your template use <link rel=stylesheet href="{{ static('filename') }}">
  papertalk.jinja_env.globals['static'] = (
  	lambda filename: url_for('static', filename = filename)
  )
  
  from papertalk.views import article, main, reaction
  
subject: fix config file