old_contents: #!/usr/bin/env python
  import site
  import sys
  import os
  site.addsitedir('$PythonHome/lib/python2.6/site-packages')
  sys.path.append('$PythonHome')
  os.environ['PYTHON_EGG_CACHE'] = '/tmp/.egg'
  
  from compass.api import app as application
  from compass.utils import flags
  from compass.utils import logsetting
  from compass.utils import setting_wrapper as setting
  
  flags.init()
  flags.OPTIONS.logfile = setting.WEB_LOGFILE
  logsetting.init()
  
  from compass.api import api as compass_api
  compass_api.init()
  application = compass_api.app
  
new_contents: #!/usr/bin/env python
  import site
  import sys
  import os
  
  activate_this='$PythonHome/bin/activate_this.py'
  execfile(activate_this, dict(__file__=activate_this))
  site.addsitedir('$PythonHome/lib/python2.6/site-packages')
  sys.path.append('$PythonHome')
  os.environ['PYTHON_EGG_CACHE'] = '/tmp/.egg'
  
  from compass.api import app as application
  from compass.utils import flags
  from compass.utils import logsetting
  from compass.utils import setting_wrapper as setting
  
  flags.init()
  flags.OPTIONS.logfile = setting.WEB_LOGFILE
  logsetting.init()
  
  from compass.api import api as compass_api
  compass_api.init()
  application = compass_api.app
  
subject: Make packages in virtualenv take precedance.