#!/usr/bin/env python3
import sys
import os
tool_path = os.path.dirname(os.path.realpath(os.path.abspath(sys.argv[0])))
try:
    sys.path.remove(tool_path)
except ValueError:
    pass
sys.path.insert(0, os.path.dirname(tool_path))
from xd.tool.main import main
sys.exit(main())
