diff --git a/osx/hexchat.bundle b/osx/hexchat.bundle
index 9501ab17..9490926f 100644
--- a/osx/hexchat.bundle
+++ b/osx/hexchat.bundle
@@ -23,9 +23,9 @@
${prefix}/lib/libenchant.dylib
-
- ${prefix}/share/myspell/dicts
-
+
+ ${prefix}/lib/enchant/libenchant_applespell.so
+
${prefix}/bin/python
diff --git a/osx/launcher.sh b/osx/launcher.sh
index 61fb0276..806fbb94 100755
--- a/osx/launcher.sh
+++ b/osx/launcher.sh
@@ -22,6 +22,7 @@ bundle_bin="$bundle_res"/bin
bundle_data="$bundle_res"/share
bundle_etc="$bundle_res"/etc
+export PREFIX="$bundle_res"
export DYLD_LIBRARY_PATH="$bundle_lib"
export XDG_CONFIG_DIRS="$bundle_etc"/xdg
export XDG_DATA_DIRS="$bundle_data"