old_contents: from been.couch import CouchStore
  from flask import Flask, render_template
  
  app = Flask(__name__)
  app.jinja_env.trim_blocks = True
  
  store = CouchStore()
  store.load()
  
  @app.route('/')
  def wake():
      return render_template('stream.html', events=store.events())
  
  if __name__ == '__main__':
      app.run(debug=True)
  
new_contents: #!/usr/bin/env python
  from been.couch import CouchStore
  from flask import Flask, render_template
  
  app = Flask(__name__)
  app.jinja_env.trim_blocks = True
  
  store = CouchStore()
  store.load()
  
  @app.route('/')
  def wake():
      return render_template('stream.html', events=store.events())
  
  if __name__ == '__main__':
      app.run(debug=True)
  
subject: Add shebang to main script.