old_contents: """
  WSGI config for tracks project.
  
  It exposes the WSGI callable as a module-level variable named ``application``.
  
  For more information on this file, see
  https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/
  """
  
  import os
  os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tracks.settings")
  #os.environ.setdefault("PRODUCTION", "1") ## opting to inherit this from either USER environment or /etc/init.d/uwsgi.
  
  from django.core.wsgi import get_wsgi_application
  application = get_wsgi_application()
  
new_contents: """
  WSGI config for tracks project.
  
  It exposes the WSGI callable as a module-level variable named ``application``.
  
  For more information on this file, see
  https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/
  """
  
  import os, sys
  sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) ## i.e. sys.path.append('/microarray/tracks/')
  #os.environ.setdefault("PRODUCTION", "1") # PRODUCTION is best set in calling environment, i.e. in service configuration for uwsgi
  os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tracks.settings")
  #os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tracks.settings.production")
  
  from django.core.wsgi import get_wsgi_application
  application = get_wsgi_application()
  
subject: remove reference to deployment path; instead, indirect through __file__