old_contents: #!/usr/bin/env python
  # vim: ai ts=4 sts=4 et sw=4
  
  import sys
  import rapidsms
  
  if __name__ == "__main__":
      rapidsms.manager.start(sys.argv)
  
new_contents: #!/usr/bin/env python
  # vim: ai ts=4 sts=4 et sw=4
  
  import sys
  import os
  import traceback
  #os.environ["PYTHONPATH"] = os.path.join(os.getcwd(),'lib')
  sys.path.append(os.path.join(os.getcwd(),'lib'))
      
  import rapidsms
  
  traceback.print_stack()
  
  if __name__ == "__main__":
      rapidsms.manager.start(sys.argv)
  
subject: set environmental variables in to server to self configure with relative directory