I'll remove sys.path - but the os.environ stuff is needed