1diff --git a/kaldi_active_grammar/utils.py b/kaldi_active_grammar/utils.py
2index 823f997..3850336 100644
3--- a/kaldi_active_grammar/utils.py
4+++ b/kaldi_active_grammar/utils.py
5@@ -79,7 +79,7 @@ elif sys.platform.startswith('linux'): platform = 'linux'
6 elif sys.platform.startswith('darwin'): platform = 'macos'
7 else: raise KaldiError("unknown sys.platform")
8
9-exec_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'exec', platform)
10+exec_dir = '/'
11
12 import ush
13
14@@ -87,13 +87,13 @@ class ExternalProcess(object):
15
16 shell = ush.Shell(raise_on_error=True)
17
18- fstcompile = shell(os.path.join(exec_dir, 'fstcompile'))
19- fstarcsort = shell(os.path.join(exec_dir, 'fstarcsort'))
20- fstaddselfloops = shell(os.path.join(exec_dir, 'fstaddselfloops'))
21- fstinfo = shell(os.path.join(exec_dir, 'fstinfo'))
22- # compile_graph = shell(os.path.join(exec_dir, 'compile-graph'))
23- compile_graph_agf = shell(os.path.join(exec_dir, 'compile-graph-agf'))
24- # compile_graph_agf_debug = shell(os.path.join(exec_dir, 'compile-graph-agf-debug'))
25+ fstcompile = shell('fstcompile')
26+ fstarcsort = shell('fstarcsort')
27+ fstaddselfloops = shell('fstaddselfloops')
28+ fstinfo = shell('fstinfo')
29+ # compile_graph = shell('compile-graph')
30+ compile_graph_agf = shell('compile-graph-agf')
31+ # compile_graph_agf_debug = shell('compile-graph-agf-debug')
32
33 make_lexicon_fst = shell([sys.executable, os.path.join(os.path.dirname(os.path.abspath(__file__)), 'kaldi', 'make_lexicon_fst%s.py' % ('_py2' if PY2 else ''))])
34